/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.gen;

/**
 * <p>Project: jse2303 - Gen
 * <p>Powered by webrx On 2023-07-20 15:22:49
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Gen<T extends Number> {
    private T t;

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public void save(Gen<?> gen) {
        System.out.println(gen);
    }

    public void add(Gen<? super Integer> gen) {
        System.out.println(gen);
    }

    public <E extends Number> E show(E e) {
        return e;
    }
}
